]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
calendar: Minor cleanup
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 17 Mar 2015 04:32:04 +0000 (05:32 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 17 Mar 2015 04:34:14 +0000 (05:34 +0100)
Commit b61cb920533e04 added a close method, use that instead of
explicitly emitting the corresponding signal.

js/ui/calendar.js

index 7fd4622ee298a3cbe3539e73763f1691cb06e7ff..0e03a2b4b5b246ec37a39e489b45917e93bcb79e 100644 (file)
@@ -1227,7 +1227,7 @@ const NotificationMessage = new Lang.Class({
         notification.connect('destroy', Lang.bind(this,
             function() {
                 if (!this._closed)
-                    this.emit('close');
+                    this.close();
             }));
         this._updatedId = notification.connect('updated',
                                                Lang.bind(this, this._onUpdated));